package com.guocheng.quartz.everyday;

import com.guocheng.modules.meet.service.MeetService;
import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.quartz.QuartzJobBean;

public class Job extends QuartzJobBean {

    @Autowired
    private MeetService meetService;

    @Override
    protected void executeInternal(JobExecutionContext jobExecutionContext) throws JobExecutionException {
        //每日会议检查
        meetService.updateYesterday();
    }
}
